package ar.edu.utn.frba.dds.opendesigners;

import java.math.BigDecimal;

public class RouteOption {
	private String	airline;
	private String flightNumber;
	private String seatNumber;
	private BigDecimal price;
	private char seatType;
	private char seatLocation;
	private boolean state;
	
	public RouteOption(){
		
	}

	public boolean priceBiggerThan(BigDecimal price){
		return (this.getPrice().compareTo(price) >= 0);
	}
	
	public BigDecimal getPrice() {
		return this.price;
	}
	
	public void setPrice(BigDecimal price){
		this.price = price;
	}

	public void addToPrice(BigDecimal ammount) {
		this.price = this.price.add(ammount);
	}

	public String getAirline() {
		return this.airline;
	}

	public void setAirline(String airline) {
		this.airline = airline;
	}

	public String getFlightNumber(){
		return this.flightNumber;
	}
	
	public void setFlightNumber(String number){
		this.flightNumber = number;
	}
	
	public String getSeatNumber() {
		return this.seatNumber;
	}

	public void setSeatNumber(String seatNumber) {
		this.seatNumber = seatNumber;
	}

	public char getSeatType() {
		return this.seatType;
	}

	public void setSeatType(char seatType) {
		this.seatType = seatType;
	}

	public char getSeatLocation() {
		return this.seatLocation;
	}

	public void setSeatLocation(char seatLocation) {
		this.seatLocation = seatLocation;
	}

	public boolean getState() {
		return this.state;
	}

	public void setState(boolean state) {
		this.state = state;
	}
	
	
	
	
}
